package com.cd.javacxy.module.web.dao;

import com.cd.javacxy.common.model.entity.CxyUser;
import com.cd.javacxy.common.model.query.UserQuery;
import org.apache.ibatis.annotations.Param;

/**
 * CxyUser的Dao接口
 *
 * @author yanghy
 */
public interface CxyUserDao {


    CxyUser findUserByEmail(UserQuery query);

    CxyUser findUserByUserId(UserQuery query);

    int changeUserMark(@Param(value = "changeMark") Integer changeMark, @Param(value = "userId") Integer userId);

    int updateNotNullCxyUserById(CxyUser enti);


}